package me.croute.calendarexample.activity;

import java.util.Calendar;

import android.os.Parcel;
import android.os.Parcelable;

public class Alarm implements Parcelable{

	//Public fields
	public int id;
	public int hour;
	public int minutes;
	public long time;
	

	public Alarm(){
		id = -1;
		Calendar c = Calendar.getInstance();
		c.setTimeInMillis(System.currentTimeMillis());
		
		hour = c.get(Calendar.HOUR_OF_DAY);
		minutes = c.get(Calendar.MINUTE);
		
	}
	
	
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel arg0, int arg1) {
		// TODO Auto-generated method stub
		
	}

}
